//
//  YHOptionTableViewItemInputTextView.m
//  ScriptKill
//
//  Created by 林宁宁 on 2021/4/29.
//  Copyright © 2021 优智汇. All rights reserved.
//

#import "YHOptionTableViewItemInputTextView.h"
#import "YHHUD.h"

@implementation YHOptionTableViewItemInputTextView

-(void)yh_commonInit{
    [super yh_commonInit];
    
    self.textViewContentInset = UIEdgeInsetsMake(5, 5, 5, 5);
    self.textColor = [UIColor yh_h1];
    
    self.placeholderColor = [UIColor yh_placeholder];
}

-(BOOL)isAviableToHint{
    if(IsNull(self.content)){
        if(IsNonNull(self.placeholder)){
            YHHUDMsg(self.placeholder);
        }
        return NO;
    }
    return YES;
}

@end
